<?php
namespace Quality\Start\App\Action;

use \Symfony\Component\HttpFoundation\Request;
use \Symfony\Component\HttpFoundation\Response;

class Home extends Action
{
    /**
     * @param \Symfony\Component\HttpFoundation\Request $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function index(Request $request)
    {
        $this->setAttributes($request);
        return $this->render('index.html');
    }

    /**
     * @param \Symfony\Component\HttpFoundation\Request $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function universe(Request $request)
    {
        $this->setAttributes($request);

        return $this->render('container-narrow.html');
    }
}